import os
dic = {}

print(os.listdir('../'))

for name in os.listdir(os.path.join('../')):
    #dic[name] = os.path.getsize(os.path.join('../', name))
    print(dic.keys())
    dic[name] = len(dic.keys())
print(dic)